class GameMap {

    static _data = {};
    static _maps = {};


    static getMapRoom(uid, mapId) {
        const mapArr = this._maps[mapId] || new Map();
        let roomName, room;
        if (mapArr.size === 0) {
            roomName = `map-${mapId}-1`;
            room = new Map();
            mapArr.set(roomName, room);
        }
        roomName = `map-${mapId}-1`;
        room = mapArr.get(roomName);
        room.set(uid, true);
        this._data[uid] = roomName;
    }
}